STEP 3: Your program makes a new random number between 1 and 6 every time it runs! Let's display it!

A variable display shows us what's currently stored inside a variable.

  • Go to and drag out Variable Display. Drop it at the bottom of your program.
  • Find the variable argument my_var in .Display(). Change it to roll_1.
  • Change the variable name of the display from my_display to roll_1_score.

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)